﻿using System;

namespace BGM.Sensors.MeasuringDevice
{
    public interface IPort
    {
        void Open();
        void Close();
        string ReadExisting();
        void Write(string s);
        bool IsOpen { get; }
        bool DtrEnable {set;}
        bool RtsEnable{set;}
       event EventHandler  DataReceived;
    }
}
